﻿@model DietPlanning.Models.DishDetail
@{
    ViewBag.Title = "Create";
}
<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>
@using (Html.BeginForm())
{
    @Html.ValidationSummary(true)
    <fieldset>
        <legend>DishDetail</legend>
        <div class="editor-label">
            @Html.LabelFor(model => model.FoodID, "Food")
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.FoodID)
            @Html.ValidationMessageFor(model => model.FoodID)
        </div>
        <div class="editor-label">
            @Html.LabelFor(model => model.Ammount)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Ammount)
            @Html.ValidationMessageFor(model => model.Ammount)
        </div>
        <input type="submit" value="+ Food" />
    </fieldset>
}
